package com.example.understand_compose1.fet_mapsdk

import android.app.Application
import com.baidu.mapapi.CoordType
import com.baidu.mapapi.SDKInitializer

class MapApp : Application() {
    override fun onCreate() {
        super.onCreate()
//        SDKInitializer.initialize(applicationContext)
        // TODO: Bug必须先执行这个同意协议
        SDKInitializer.setAgreePrivacy(this, true)
        SDKInitializer.initialize(this);
        SDKInitializer.setCoordType(CoordType.BD09LL);
    }
}